﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="order_add05.aspx.cs" Inherits="WebSite.admin.order.order_add05" %>

 
<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
    <title>叶盟实业后台管理系统</title>
    <link href="../main.css" rel="stylesheet" type="text/css" />
    <script language="javascript">
        parent.maintitle.innerHTML = "定单管理";
        parent.contentmain.innerHTML = "<span class='title01'>所在位置：</span>设置其他信息 。&nbsp;&nbsp;<img src='images/sort_desc.gif' /> <a href='order/order.aspx' target='content'><font color=#ff0000>定单列表</font></a>"
    </script>
    <script language='javascript'>
        var path = (window.top.location).toString();
        if (path.indexOf('login.aspx') == -1) {
            if (path.indexOf('index.aspx') == -1) {
                window.top.location = 'index.aspx';
            }
        }
	</script>
</head>
<body>
    <form id="form1" runat="server">
    <div>
    <center>
<table width="100%" border="0" cellspacing="0" cellpadding="0" bgcolor="#F1F4F7">
<tr>
<td height="382" align="center" valign="top">
<br />
<table width="95%" border="0" cellpadding="3" cellspacing="0">
        <tr>
          <td width="76%" align="center" valign="top"><table width="95%" border="0" cellspacing="0" cellpadding="5">
            <tr>
              <td colspan="2" align="left" bgcolor="#F5F5F5"><strong>送货地址：</strong><asp:HyperLink ID="HyperLink1" runat="server" CssClass="yellow" Visible="false">[修改]</asp:HyperLink></td>
            </tr>
            <tr>
              <td colspan="2" align="left">姓名：<asp:Label ID="cname" runat="server" Text=""></asp:Label><br />
                地址：<asp:Label ID="address" runat="server" Text=""></asp:Label><br />
                邮编：<asp:Label ID="post" runat="server" Text=""></asp:Label><br />
                电话：<asp:Label ID="tel" runat="server" Text=""></asp:Label></td>
            </tr>
            <tr>
              <td colspan="2" align="left" bgcolor="#F5F5F5"><strong>送货方式</strong></td>
            </tr>
            <tr>
              <td colspan="2" align="left">送货方式：<asp:Label ID="shipping" runat="server" Text=""></asp:Label><a href="order_add03.aspx?orderid=<%=Request.QueryString["orderid"] %>" class="yellow">[修改]</a><br /> </td>
            </tr>
            <tr>
              <td colspan="2" align="left" bgcolor="#F5F5F5"><strong>货物折分：</strong></td>
            </tr>
            <tr>
              <td colspan="2" align="left">
                  <asp:RadioButtonList ID="huotype" RepeatColumns="2" runat="server">
                  <asp:ListItem Value="用最快方式拆分定单发货">用最快方式拆分定单发货</asp:ListItem>
                  <asp:ListItem Value="等待所有商品到货一起发货" Selected="True">等待所有商品到货一起发货</asp:ListItem>
                  </asp:RadioButtonList></td>
            </tr>
            <tr>
              <td width="55%" align="left" bgcolor="#F5F5F5"><strong>商品信息：</strong>（此定单将分为一个包裹发货！）</td>
              <td width="45%" align="left" bgcolor="#F5F5F5">预计发货时间：<span class="red02"><asp:Label ID="Labeltimes" runat="server" Text=""></asp:Label> </span> 前</td>
            </tr>
          </table>
            <table width="95%" border="0" cellspacing="0" cellpadding="2">
              <tr>
                <td height="15"></td>
              </tr>
              <tr>
                <td height="1" bgcolor="#A4ACAE"></td>
              </tr>
              <tr>
                <td height="30" align="left" bgcolor="#F5F5F5"><strong>　以下商品预计发货时间为：<asp:Label ID="Labeltimes1" runat="server" Text=""></asp:Label> </strong></td>
              </tr>
            </table>
            <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False"  DataKeyNames="carid"  Width="94%" BorderWidth="1px" OnRowDataBound="GridView1_RowDataBound" BackColor="White" EmptyDataText="我的购物车里目前没有商品!" CellPadding="4">
           <Columns> 
              <asp:TemplateField ShowHeader="False" HeaderText="名称">
                 <ItemTemplate>
                   <asp:Label ID="proname" runat="server" Text=<%# Eval("proname") %>></asp:Label>
                   <br />
                   <span class="text">有货</span>
                 </ItemTemplate>
                </asp:TemplateField>               
              <asp:TemplateField ShowHeader="False" HeaderText="数量">
                 <ItemTemplate>
                   数量：<span class="title05"><%# Eval("pronum")%></span>
                   <br />
                   <asp:Label ID="Labeltime" runat="server" Text=""></asp:Label>
                 </ItemTemplate>
              </asp:TemplateField>   
              <asp:TemplateField ShowHeader="False" HeaderText="价格">
                 <ItemTemplate>
                   本店价：<span class="red02"><%=WebSite.info.info1("","shophuobi") %><%# Eval("price")%></span>
                </ItemTemplate>
             </asp:TemplateField>   
             <asp:BoundField HeaderText="" DataField="carid"  sortexpression="carid" />
             <asp:BoundField HeaderText="" DataField="typeid"  sortexpression="typeid" />
             <asp:BoundField HeaderText="" DataField="proid"  sortexpression="proid" />
           </Columns>
         </asp:GridView>
            </td>
          <td width="24%" align="center" valign="top" bgcolor="#F5F5F5"><br />
            <table width="90%" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td height="25" bgcolor="#E7E7E7"><strong>定单价格</strong></td>
              </tr>
            </table>
            <table width="90%" border="0" cellspacing="0" cellpadding="3">
              <tr>
                <td align="center" bgcolor="#FFFFFF"><table width="98%" border="0" cellspacing="0" cellpadding="2">
                  <tr>
                    <td width="44%" align="left" bgcolor="#FFFFFF"> 商品总价：</td>
                    <td width="56%" align="right" bgcolor="#FFFFFF"><%=WebSite.info.info1("","shophuobi") %><asp:Label ID="totalprice" runat="server" Text=""></asp:Label> 元<asp:Label ID="totalprice1" runat="server" Text="" Visible="false"></asp:Label></td>
                  </tr>
                  <tr>
                    <td align="left" bgcolor="#FFFFFF">配 送 费：</td>
                    <td align="right" bgcolor="#FFFFFF"><%=WebSite.info.info1("", "shophuobi")%><asp:Label ID="shippingprice1" runat="server" Text=""></asp:Label> 元</td>
                  </tr>
                  <tr>
                    <td align="left" bgcolor="#FFFFFF">保 价 费：</td>
                    <td align="right" bgcolor="#FFFFFF"><%=WebSite.info.info1("", "shophuobi")%><asp:Label ID="bao" runat="server" Text=""></asp:Label> 元</td>
                  </tr>
                  <tr>
                    <td align="left" bgcolor="#FFFFFF">免配送费：</td>
                    <td align="right" bgcolor="#FFFFFF"><span class="red02">-<%=WebSite.info.info1("", "shophuobi")%><asp:Label ID="shippingprice2" runat="server" Text=""></asp:Label> 元</span></td>
                  </tr>
                  <tr>
                    <td align="left" bgcolor="#FFFFFF">支付费用：</td>
                    <td align="right" bgcolor="#FFFFFF"><%=WebSite.info.info1("", "shophuobi")%><asp:Label ID="payprice" runat="server" Text=""></asp:Label> 元</td>
                  </tr>
                   <tr>
                    <td align="left" bgcolor="#FFFFFF">优惠金额：</td>
                    <td align="right" bgcolor="#FFFFFF"><span class="red02">-<%=WebSite.info.info1("", "shophuobi")%><asp:Label ID="cardprice" runat="server" Text="0.00"></asp:Label> 元</span></td>
                  </tr>
                  <tr bgcolor="#000000">
                    <td height="1"></td>
                    <td></td>
                  </tr>
                  <tr>
                    <td height="30" colspan="2" align="center" bgcolor="#FFFFFF" class="red">共计：<%=WebSite.info.info1("", "shophuobi")%><asp:Label ID="totalprices" runat="server" Text=""></asp:Label> 元<asp:Label ID="totalprices1" runat="server" Text=""  Visible="false"></asp:Label></td>
                  </tr>
                </table></td>
              </tr>
            </table>
            <br />
            <table width="90%" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td height="25" bgcolor="#E7E7E7"><strong>付款详情</strong></td>
              </tr>
            </table>
            <table width="90%" border="0" cellspacing="0" cellpadding="3">
              <tr>
                <td align="center" valign="top" bgcolor="#FFFFFF">
                <%if (Session["cardid"] != null)
                  { %>
                   <asp:Label ID="Labelcard" runat="server" Text=""></asp:Label> 
                <%}
                  else
                  { %>
                <table width="92%" border="0" cellspacing="0" cellpadding="0">
                  <tr>
                    <td align="left">你有礼品卡吗？</td>
                  </tr>
                  <tr>
                    <td align="left" class="text">输入您的礼品卡号\密码</td>
                  </tr>
                  <tr>
                    <td height="25" align="left"><input name="cardcode" id="cardcode" runat="server" type="text" size="18" /></td>
                  </tr>
                  <tr>
                    <td height="25" align="left"><input name="cardpas" id="cardpas" runat="server" type="password" size="18" /><br />
                        <asp:ImageButton ID="ImageButton1" runat="server" ImageUrl="../images/button02.gif" OnClick="ImageButton1_Click" /></td>
                  </tr>
                </table>
                <%}%>
                  <br />
                  <table width="92%" border="0" cellspacing="0" cellpadding="2">
                    <tr>
                      <td height="1" bgcolor="#000000"></td>
                    </tr>
                    <tr>
                      <td align="left">付款方式：<br />
                        <asp:Label ID="payname" runat="server" Text=""></asp:Label>　<a href="order_add04.aspx?orderid=<%=Request.QueryString["orderid"] %>" class="yellow">[修改]</a></td>
                    </tr>
                  </table>
                  <br />
                  </td>
              </tr>
            </table>
            <br /></td>
        </tr>
      </table>
  <p align="center">
    <asp:ImageButton ID="ImageButton2" runat="server" ImageUrl="../images/button15.gif" />   
    <asp:ImageButton ID="ImageButton3" runat="server"  ImageUrl="../images/button16.gif" OnClick="ImageButton3_Click" />
    <asp:ImageButton ID="ImageButton4" runat="server" ImageUrl="../images/button12.gif" />
  </p>
  </td>
</tr>
</table>
</center>
    </div>
    </form>
</body>
</html>
